import { path } from '../routerconfig'

const routes = [
    {
        path: '/',
        name: 'index',
        title: '首页',
        component: () => import('../views/HomeView.vue'), //.vue不能省略
    }, {
        path: '/produc',
        name: 'produc',
        title: '产品列表',
        component: () => import('../views/ProductView.vue'), //.vue不能省略
    }, {
        path: '/produccontent',
        name: 'produccontent',
        title: '产品信息',
        component: () => import('../views/ProduccontentView.vue'), //.vue不能省略
    }, {
        path: '/newslist',
        name: 'newsList',
        title: '新闻中心',
        component: () => import('../views/NewsList.vue'), //.vue不能省略
    },
     {
        path: '/newscontent',
        name: 'newsContent',
        title: '新闻内容',
        component: () => import('../views/NewsData.vue'), //.vue不能省略
    }, 
    {
        path: '/aboute',
        name: 'about',
        title: '关于',
        component: () => import('../views/AbouteMe.vue'), //.vue不能省略
    }
]
export default routes
